.w1 {
  width: 100%;
  background-color: #adb5bd;
}
.w2 {
  width: 100%;
}
.w3 {
  width: 100%;
  background-color: rgb(245, 245, 245);
}
/* 头部 */
header {
  width: 1300px;
  margin: 0 auto;
  background-color: #adb5bd;
}
.headerUl {
  height: 50px;
  float: right;
}
.headerUl li {
  float: left;
  font-size: 14px;
  margin: 0 12px;
  cursor: pointer;
  line-height: 50px;
}
.headerUl li:not(.setting) {
  line-height: 55px;
}
/* 导航 */
nav {
  width: 1300px;
  margin: 0 auto;
  height: 120px;
}
nav h1 {
  width: 170px;
  height: 120px;
  display: inline-block;
}
nav h1 a {
  display: block;
  width: 170px;
  height: 120px;
}

nav h1 a img {
  width: 100%;
  margin: 20px;
}
.quitLogin {
  display: none;
}
.quitLogin a {
  text-decoration: none;
  color: red;
}

.nav-item .goCar span {
  display: inline-block;
  color: red;
  font-size: 13px;
}
.perInfo {
  width: 100px;
  display: flex;
  align-items: center;
}

.perInfo a {
  width: 100%;
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
}

.perInfo span:first-child {
  color: white;
  font-size: 16px;
  padding-left: 10px;
}

.perInfo span:last-child {
  width: 70px;
  padding-left: 10px;
  color: white;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
/* 设置 */
.setting > a {
  font-size: 14px;
  color: #666;
  border: 0;
  padding-left: 0px;
  padding-right: 0px;
}
.setInfo {
  z-index: 10000;
}
.changeInfo {
  display: none;
  position: fixed;
  top: 10%;
  left: calc(50% - 400px);
  width: 800px;
  height: 500px;
  z-index: 9999;
  background-color: #e3e3e3;
}
.activeBlock {
  display: block !important;
}
.changeInfo main {
  padding: 30px 0;
  width: 700px;
  height: 600px;
  margin: 0 auto;
  position: relative;
}

.changeInfo main h3 {
  text-align: center;
  margin-bottom: 30px;
}

.changeInfo main #reviseInfo {
  width: 200px;
  margin-left: 250px;
}

.changeInfo main .reviseSuccessAlert {
  text-align: center;
  display: none;
  position: absolute;
  top: 20px;
  left: 100px;
  width: 550px;
  height: 40px;
}

.changeInfo main .reviseFailAlert {
  text-align: center;
  display: none;
  position: absolute;
  top: 20px;
  left: 100px;
  width: 550px;
  height: 40px;
}
.changePwd {
  display: none;
  position: fixed;
  top: 10%;
  left: calc(50% - 400px);
  width: 800px;
  height: 400px;
  z-index: 9999;
  background-color: #e3e3e3;
}

.changePwd main {
  padding: 50px 0;
  width: 700px;
  height: 600px;
  margin: 0 auto;
}

.changePwd main h3 {
  text-align: center;
  margin-bottom: 30px;
}

[type="button"]:not(:disabled) {
  float: right;
}
.changePwd main #revisePwd {
  width: 200px;
  margin-top: 20px;
  margin-left: 250px;
}

.changePwd main .revisePwdSuccessAlert {
  text-align: center;
  display: none;
  position: absolute;
  top: 20px;
  left: 100px;
  width: 550px;
  height: 40px;
}

.changePwd main .revisePwdFailAlert {
  text-align: center;
  display: none;
  position: absolute;
  top: 20px;
  left: 100px;
  width: 550px;
  height: 40px;
}
.banner {
  width: 1300px;
  height: 500px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
}

/* 渲染数据 */
.home-main {
  width: 1300px;
  margin: 0 auto;
  height: 100%;
  background-color: rgb(245, 245, 245);
}
.home-main .container .box-hd {
  width: 100%;
  height: 100px;
  line-height: 100px;
  font-size: 24px;
}
.home-main .container .box-hd h3 {
  height: 100px;
  line-height: 100px;
  float: left;
}
.home-main .container .box-hd h3 a {
  font-size: 24px;
}
.home-main .container .box-hd a {
  text-decoration: none;
  cursor: pointer;
  float: right;
  font-size: 18px;
  color: #000;
}
.container .box-panel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.box-panel .box-item {
  /* margin: 0 10px; */
  display: block;
  width: 220px;
  height: 300px;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  margin-bottom: 20px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.box-panel .box-item:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.box-panel .box-item .is_hot {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 30px;
  height: 20px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background-color: red;
  border-radius: 8px;
  border: 1px solid;
}
.box-panel .box-item .is_sale {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 20px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background-color: red;
  border-radius: 8px;
  border: 1px solid;
}
.box-panel .box-item img {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}
.box-panel .box-item .title {
  text-align: center;
  color: #b0b0b0;
  width: 200px;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 设置显示的行数 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.box-panel .box-item .price {
  /* 文字横线 */
  text-decoration: line-through;
  color: #b0b0b0;
  font-size: 14px;
}
.box-panel .box-item .current_price {
  color: red;
  font-size: 18px;
}
